<template>
    <div>
        详情页
        <img src="" alt="">
        <p>{{ $route.params.proid }}</p>
    </div>
</template>

<script>

export default {
    props: ['proid'],
    data() {
        return {

        };
    },
    created() {
        this.$http.get('/pro/detail/:proid')
            .then(res => {
                if (res.data.code === '200') {
                    console.log(res.data.code);
                }
            })
    }

}

</script>
<style scoped>

</style>